HC: Copy working tooltip code from Adwaita & tweak
authorDaniel Boles <dboles@src.gnome.org>
Thu, 5 Oct 2017 18:09:19 +0000 (19:09 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 5 Oct 2017 18:40:36 +0000 (19:40 +0100)
commit0fb4a018f59d1707aaac027ef7e9224d836bf4aa
treeeb70165bf5a05529ddeea97398ecfd14461b6085
parent6b2c8bfcf16f3a0f1c018c18466e705373c22263
HC: Copy working tooltip code from Adwaita & tweak

There were various problems, like only selecting on .tooltip and not the
widget node tooltip, not being specific enough for tooltip.csd, etc. So,
specific theming was absent, and default popup window styles got applied

This commit copies in the better working tooltip CSS from Adwaita, but
applies a couple of changes to make it work better in the HC themes:
 • Reduce the transparency of the tooltip, so we achieve higher contrast
 • Drop the black text-shadow, as it is not useful on this more black bg

Note: we may then need to re-add some of this to the .tooltip class. But
it is unclear what needs done there. While Adwaita is not doing it, we
are better not to confuse by keeping it in HC only; we should try to be
as close as possible, to make it easier for HC to keep up with Adwaita.

https://bugzilla.gnome.org/show_bug.cgi?id=769879
gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css